package com.me.study.app

import me.hgj.jetpackmvvm.base.BaseApp

/**
 *create author : FZW
 *create date  : 2024/7/4
 */
class StudyApplication : BaseApp() {

    override fun onCreate() {
        super.onCreate()
//        val fontRequest = FontRequest(
//            "com.google.android.gms.fonts",
//            "com.google.android.gms",
//            "Noto Color Emoji Compat",
//            R.array.com_google_android_gms_fonts_certs
//        )
//        val config = FontRequestEmojiCompatConfig(this, fontRequest)
////        val config = BundledEmojiCompatConfig(applicationContext)
//        config.setReplaceAll(true);
//        config.registerInitCallback(object : EmojiCompat.InitCallback() {
//            override fun onFailed(throwable: Throwable?) {
//                LogUtils.debugInfo("初始化失败！")
//            }
//
//            override fun onInitialized() {
//                LogUtils.debugInfo("初始化成功！")
//            }
//        })
//        EmojiCompat.init(config)
    }

}